package com.zian.domain.vo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.Data;

import java.util.List;

@Data
 @ApiModel( "商品分类VO")
public class CategoryQueryVO {
     @ApiModelProperty( "分类id")
    private Long id;
     @ApiModelProperty( "父分类id")
    private Long parentId;
     @ApiModelProperty( "分类名称")
    private String categoryName;

     @ApiModelProperty( "排序值(字段越大越靠前)")
    private Integer categoryRank;
     @ApiModelProperty( "子分类")
    private List<CategoryQueryVO> children;




}
